|
Foxit PDF SDK
|
Public 成员函数 | |
| def | GetDecryptionKey (envelope_buffer, envelope_length) |
| 用于获取解密证书保护的PDF文档的密钥的回调函数。 更多... | |
| def | GetSecurityType () |
| 获取当前安全回调的加密类型。 更多... | |
Public 成员函数 继承自 FoxitPDFSDKPython2.SecurityCallback | |
| def | Release () |
| 用于释放当前回调对象自身的回调函数。 更多... | |
此类表示证书解密的回调对象。如果用户想要使用自己的 证书安全回调,用户应该继承此回调类并实现纯虚函数 (作为回调函数),然后通过函数 FoxitPDFSDKPython2.Library.RegisterSecurityCallback 并使用 filter "Adobe.PubSec" 向 Foxit PDF SDK 注册自己的证书安全回调对象。 函数 FoxitPDFSDKPython2.Library.UnregisterSecurityCallback 可以用来注销具有 注册过滤器名称的安全回调对象。
| def FoxitPDFSDKPython2.CertificateSecurityCallback.GetDecryptionKey | ( | envelope_buffer, | |
| envelope_length | |||
| ) |
用于获取解密证书保护的PDF文档的密钥的回调函数。
| [in] | envelope_buffer | 表示证书信封的缓冲区。 |
| [in] | envelope_length | 证书信封缓冲区的长度,以字节为单位。 |
| def FoxitPDFSDKPython2.CertificateSecurityCallback.GetSecurityType | ( | ) |